package com.csii.branch.service.impl;

import com.csii.branch.controller.vo.BranchUserStatVo;
import com.csii.branch.mapper.entity.CdBranchStatUser;
import com.csii.branch.mapper.CdBranchStatUserMapper;
import com.csii.branch.service.ICdBranchStatUserService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.Date;
import java.util.List;

/**
 * @Description: 网点用户统计
 * @Author: power-stdio
 * @Date:   2020-12-21
 * @Version: V1.0
 */
@Service
public class CdBranchStatUserServiceImpl extends ServiceImpl<CdBranchStatUserMapper, CdBranchStatUser> implements ICdBranchStatUserService {

    @Override
    public List<BranchUserStatVo> statGroupBySource(String netId,Date from, Date end) {
        return baseMapper.statGroupBySource(netId,from, end);
    }

    @Override
    public List<BranchUserStatVo> statGroupByCustomerType(String netId,Date from, Date end) {
        return baseMapper.statGroupByCustomerType(netId,from, end);
    }

    @Override
    public List<BranchUserStatVo> statGroupByDaily(String netId,Date from, Date end) {
        return baseMapper.statGroupByDaily(netId,from, end);
    }
}
